﻿CREATE TABLE [ProductFeedback].[ProductReviewImage]
(
	[TenantId] [uniqueidentifier] NOT NULL,
	[FeedbackId] [uniqueidentifier] NOT NULL,
	[ImageId] [uniqueidentifier] NOT NULL,
	[Caption] [ProductFeedback].[TProductReviewImageCaption] NULL,
	[ThumbnailPath] [ProductFeedback].[TProductReviewImageThumbnailPath] NOT NULL,
	[ThumbnailWidth] [smallint] NOT NULL,
	[ThumbnailHeight] [smallint] NOT NULL,
	[ImagePath] [ProductFeedback].[TProductReviewImageImagePath] NOT NULL,
	[ImageWidth] [smallint] NOT NULL,
	[ImageHeight] [smallint] NOT NULL,
	CONSTRAINT [PK_ProductReviewImage] PRIMARY KEY CLUSTERED ([TenantId] ASC, [FeedbackId] ASC, [ImageId] ASC) ON [PRIMARY]
) ON [PRIMARY]
